package com.ocom.common.vo.webapi;


import com.alibaba.fastjson.JSONObject;
import lombok.Data;

import java.util.List;

@Data
public class BDFaceToken {

    Integer errorCode;
    String errorMsg;
    ResultVo result;


    @Data
    public static class ResultVo{
        Integer faceNum;
        List<FaceListVo> faceList;
    }

    @Data
    public static class FaceListVo {
        String faceToken;
        Float faceProbability;
        JSONObject glasses;
        JSONObject eyeStatus;
        JSONObject faceType;
        JSONObject mask;
        QualityVo quality;
    }


    @Data
    public static class QualityVo {
        JSONObject occlusion;
        Float blur;
        Integer illumination;
        Float completeness;


    }


}
